#pragma once
#include "ThridCode/gdiplusskinbutton.h"

// CMainCtrlDlg dialog
#define		WM_TIMER_STATUS_ENABLE			20001
class CMainCtrlDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CMainCtrlDlg)

public:
	CMainCtrlDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CMainCtrlDlg();

// Dialog Data
	enum { IDD = IDD_MAINCTRL_DLG };

	BOOL m_bEnable;
	CToolTipCtrl * m_pToolTipCtl;
	CGdiPlusSkinButton m_btnStart, m_btnReset, m_btnRestart, m_btnStop;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
	afx_msg void OnBnClickedBtnStart();
	afx_msg void OnBnClickedBtnReset();
	afx_msg void OnBnClickedBtnStop();
	afx_msg void OnBnClickedBtnInit();
	virtual BOOL OnInitDialog();
	afx_msg void OnClose();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedChkPreview();
	afx_msg void OnBnClickedChkPassPanel();
	afx_msg void OnBnClickedBtnUnload();
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg void OnBnClickedBtnLoad();
	afx_msg void OnBnClickedBtnUnload2();
	afx_msg void OnBnClickedBtnLaserCard();
	afx_msg void OnBnClickedChkPreviewCode();
	afx_msg void OnBnClickedBtnRotate();
	afx_msg void OnBnClickedChkDemo();
	afx_msg void OnBnClickedChkUnloadRotate();
	afx_msg void OnBnClickedChkLeftInLeftOut();
	afx_msg void OnBnClickedChkMarkExtra();
};
